home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 September (IDG) / Sep99.iso / Serious Software / POV-Ray 3.1 / Scenes / animate / diffuse / diffuse.pov < prev   
Encoding:
Text File  |  1998-02-22  |  502 b   |  25 lines  |  [TEXT/POV3]

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // File by Dan Farmer
  3. // Diffuse values demonstration
  4.  
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8. #include "stdcam.inc"
  9.  
  10. #declare D = clock;
  11.  
  12. #declare Font="cyrvetic.ttf"
  13. text{ ttf Font
  14.     concat("diffuse=",str(D,1,2)),0.1,0
  15.     scale <1.25, 1.25, 4>
  16.     translate <-4, 0, 0>
  17.     pigment { rgb <1, 0.5, 0.2> }
  18.     finish { diffuse D }
  19. }
  20.  
  21. sphere { <-1.5, 0.4, -2.5>, 0.4
  22.     pigment { LimeGreen }
  23.     finish { diffuse D }
  24. }
  25.